package OOA.com.JavaBasis.interface1;

public interface Interface02 {
    public abstract void method01();

    public default void method02(){
        System.out.println("JDK8，接口的默认方法");
    }
    //common()方法对method03和method04的公共代码进行了封装
    public static void common(){
        System.out.println("JDK8，接口的静态方法");
    }
    public static void method03(){
        System.out.println("11111");
        common();
    }
    public static void method04(){
        System.out.println("22222");
        common();
    }
}
